package com.exchange.used.web.api;

import com.exchange.used.config.converters.LayuiResult;
import com.exchange.used.service.RecordServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/record")
public class RecordController {

    @Autowired
    RecordServiceI recordServiceI;

    @RequestMapping(value = "/getRemark/{goodsid}", method = RequestMethod.GET)
    public LayuiResult getRemark(@PathVariable String goodsid){
        return recordServiceI.getRemark(goodsid);
    }
}
